﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApi.Areas.Service.Models.Interface;

namespace WebApi.Areas.Service.Models
{
    public class Food : MongoEntity
    {
        public string name { get; set; }

        public string key { get; set; }

        public string desc { get; set; }

        public string address { get; set; }

        public string district { get; set; }

        public string city { get; set; }

        public string phone { get; set; }

        public string picture_path { get; set; }

        public string website { get; set; }

        public Price price { get; set; }

        public Pros pros { get; set; }
        public Int64 total_view { get; set; }
        public Int64 total_checkins { get; set; }
        public Int64 total_review { get; set; }
        public Int64 total_favourite { get; set; }
        public Int64 avg_rating { get; set; }
        public Location location { get; set; }

        public Infos infos { get; set; }

        public Facilities facilities { get; set; }
        public string category_id { get; set; }

        public int status { get; set; }

    }

    public class Price
    {
        public Int64 min { get; set; }

        public Int64 max { get; set; }
    }

    public class Item
    {
        public string Name { get; set; }

        public string Value { get; set; }
    }

    public class Pros
    {
        public List<Item> items { get; set; }
    }

    public class Infos
    {
        public List<Item> items { get; set; }
    }

    public class Facilities
    {
        public List<Item> items { get; set; }
    }

    public class Location
    {
        public double latitude { get; set; }
        public double longitude { get; set; }
    }
}